Reduce Windows RAM usage by replacing global file watchers with a lightweight, event-driven listener using ReadDirectoryChangesW to minimize memory overhead and context switching.